package cate.common.table.activity.customgrowth;

import cate.common.table.ESheet;

public class CustomGrowthSheet extends ESheet<CustomGrowthRow> {
    @Override
    public String getSheetName() {
        return "成长礼包";
    }

    public CustomGrowthRow showHeroRow(int heroId, int configId) {
        CustomGrowthRow row = null;
        for (CustomGrowthRow cus : this.list) {
            if (cus.heroId == heroId && cus.configId == configId) {
                row = cus;
            }
        }
        return row;
    }
}
